import asyncio


async def stream(content: str, chunk_size: int = 5):
    """
    Simulate streaming output by yielding chunks of the content.
    """
    for i in range(0, len(content), chunk_size):
        yield content[i : i + chunk_size]
        await asyncio.sleep(0.1)  # Simulate delay
